package everyday;

import java.util.Arrays;

public class T1637 {
    public int maxWidthOfVerticalArea(int[][] points) {
        Arrays.sort(points,(a,b)->a[0]-b[0]);
        int re=0;
        for (int i = 0; i <points.length-1 ; i++) {
            re=Math.max(re,points[i+1][0]-points[i][0]);
        }
        return re;
    }
}
